<div class="modal-content">
	<div class="modal-header">
		<h4 class="modal-title">修改学生</h4>
	</div>
	<div class="modal-body">
		<form class="form-horizontal row">
			<div style="width: 100%;">
				<ul id="studentInfoTab" class="nav nav-tabs prepare_topTab_list" style="margin-bottom: 20px;">
					<li class=" nav-item"><a class="nav-link prepareTab home active" ng-click="checkStudentInfo(1)">基本信息</a></li>
					<li class="nav-item"><a class="nav-link prepareTab profile" ng-click="checkStudentInfo(2)">学籍信息</a></li>
					<li class="nav-item "><a class="nav-link prepareTab messages" ng-click="checkStudentInfo(3)">居住联系信息</a></li>
					<li class="nav-item "><a class="nav-link prepareTab settings" ng-click="checkStudentInfo(4)">监护人信息</a></li>
					<li class="nav-item "><a class="nav-link prepareTab other" ng-click="checkStudentInfo(5)">其它信息</a></li>
				</ul>
			</div>
			<!-- Tab panes -->
			<div id="studentInfoTabContent" class="tab-content" style="width: 100%;">
				<!-- 基本信息 -->
				<div role="tabpanel" id="home">
					<table width="100%" align="center" border="0" class="table table-form table-bordered">
						<tbody>
						<tr>
							<td class="control-label">姓名：</td>
							<td><input class="form-control" ng-validate="cname" ng-model="form.name" type="text" form-check="must" form-check-alert="姓名不能为空"></td>
							<td class="control-label">是否生僻字：</td>
							<td class="form-group">
								<select  class="form-control" ng-model="form.sfspz" >
									<option value="">--请选择--</option>
									<option value="1">是</option>
									<option value="0">否</option>
								</select>
							</td>
						<tr>
							<td class="control-label">曾用名：</td>
							<td class="form-group"><input class="form-control" ng-model="form.cym" type="text" value=""></td>
							<td class="control-label">性别：</td>
							<td>
								<select class="form-control" ng-model="form.sex" ng-options="xb.id as xb.name for xb in xbmList" form-check="must" form-check-alert="性别不能为空">
									<option value="">--请选择--</option>
								</select>
							</td>
						</tr>
						<tr>
							<td class="control-label">身份证件类型：</td>
							<td colspan="3">
								<select class="form-control" ng-model="form.sfzjlxm" ng-options="sfzjlxm.id as sfzjlxm.name for sfzjlxm in sfzjlxmList" form-check="must" form-check-alert="身份证件类型不能为空">
									<option value="">--请选择--</option>
								</select>
							</td>
						</tr>
						<tr>
							<td class="control-label">身份证件号码：</td>
							<td><input class="form-control"  type="text" ng-model="form.sfzjh" maxlength="18" form-check="must" form-check-alert="请输入证件号码"></td>
							<td class="control-label">证件有效期：</td>
							<td class="form-group" style="position: sticky;"><input class="form-control datepicker date-picker" readonly="readonly" ng-model="form.sfzjyxq" type="text" size="">
								<i ng-if="form.sfzjyxq.length>0" ng-click="deleteValidDate()" class="iconfont icon-delete" style="position: absolute;right: 18px;top: 20px;color: #000000;cursor: pointer;"></i>
							</td>
						</tr>
						<tr>
							<td class="control-label">出生日期：</td>
							<td><input class="form-control datepicker date-picker" readonly="readonly" ng-model="form.csrq" type="text" form-check="must" form-check-alert="出生日期不能为空"></td>
							<td class="control-label">港澳台侨外：</td>
							<td class="form-group">
								<select class="form-control gatqw" ng-model="form.gatqwm" ng-options="gatqwm.id as gatqwm.name for gatqwm in gatqwmList">
									<option value="">--请选择--</option>
								</select>
							</td>
						</tr>
						<tr>
							<td class="control-label">国籍：</td>
							<td>
								<select class="form-control" ng-model="form.gjdqm" ng-options="gjdqm.id as gjdqm.name for gjdqm in gjdqmList" form-check="must" form-check-alert="国别/地区不能为空">
									<option value="">--请选择--</option>
								</select>
							</td>
							<td class="control-label">籍贯：</td>
							<td>
								<select class="form-control" ng-model="form.jg" ng-options="hksf.id as hksf.name for hksf in hksfList"  form-check="must" form-check-alert="籍贯不能为空">
									<option value="">--请选择--</option>
								</select>
							</td>
						</tr>
						<tr>
							<td class="control-label">民族：</td>
							<td>
								<select class="form-control" ng-model="form.mzm" ng-options="mz.id as mz.name for mz in mzmList">
									<option value="">--请选择--</option>
								</select>
							</td>
							<td class="control-label">健康状况：</td>
							<td class="form-group">
								<select  class="form-control" ng-model="form.jkzkm" ng-options="jkzkm.id as jkzkm.name for jkzkm in cjlxList">
									<option value="">--请选择--</option>
								</select>
							</td>
						</tr>
						<tr>
							<td class="control-label">特长：</td>
							<td class="form-group" colspan="3"><input class="form-control" ng-model="form.tc" type="text"></td>
						</tr>
						</tbody>
					</table>
				</div>
				<!-- 学籍信息 -->
				<div role="tabpanel" id="profile">
					<table width="100%" align="center" border="0" class="table table-form table-bordered">
						<tbody>
						<tr>
							<td class="control-label">入学年月：</td>
							<td><input class="form-control datepicker date-picker" readonly="readonly" 	ng-model="form.rxny" type="text" size="" form-check="must" form-check-alert="入学年月不能为空"></td>
							<td class="control-label">届别：</td>
							<td><input class="form-control" ng-model="form.jb" type="text"></td>
						</tr>
						<tr>
							<td class="control-label">年级：</td>
							<td>
								<select class="form-control" ng-options="grade.id as grade.name for grade in gradeList" ng-model="form.fk_grade" ng-change="findClass()" form-check="must" form-check-alert="年级不能为空">
									<option value="">==请选择==</option>
								</select>
							</td>
							<td class="control-label">班级：</td>
							<td>
								<select class="form-control" ng-options="class.id as class.name for class in classList" ng-model="form.fk_class" form-check="must" form-check-alert="班级不能为空">
									<option value="">==请选择==</option>
								</select>
							</td>
						</tr>
						<tr>
							<td class="control-label">学籍证号：</td>
							<td><input  class="form-control" ng-model="form.xjzh" type="text" form-check="must" form-check-alert="学籍证号不能为空"></td>
							<td class="control-label">班内学号：</td>
							<td><input class="form-control" ng-model="form.xh" type="text" form-check="must" form-check-alert="班内学号不能为空"></td>
						</tr>
						<tr>
							<td class="control-label">学生类别：</td>
							<td>
								<select class="form-control" ng-model="form.xslbm" ng-options="xslbm.id as xslbm.name for xslbm in xslbmList" form-check="must" form-check-alert="学生类别不能为空">
									<option value="">--请选择--</option>
								</select>
							</td>
							<td class="control-label">入学方式：</td>
							<td class="form-group">
								<select class="form-control" ng-model="form.rxfs"  ng-options="rxfs.id as rxfs.name for rxfs in rxfsList">
									<option value="">--请选择--</option>
								</select>
							</td>
						</tr>
						<tr>
							<td class="control-label">注册时间：</td>
							<td class="form-group" style="position: sticky;">
								<input readonly="readonly" class="form-control datepicker date-picker"  ng-model="form.zcsj"  type="text">
								<i ng-if="form.zcsj.length>0" ng-click="deleteRegDate()" class="iconfont icon-delete" style="position: absolute;right: 18px;top: 20px;color: #000000;cursor: pointer;"></i>
							</td>
							<td class="control-label">注册状态：</td>
							<td class="form-group">
								<select class="form-control" ng-model="form.zczt" ng-options="zczt.id as zczt.name for zczt in zcztList">
									<option value="">--请选择--</option>
								</select>
							</td>
						</tr>
						<tr>
							<td class="control-label">状态:</td>
							<td class="form-group" colspan="3">
								<select class="form-control" ng-model="form.state" ng-options="state.id as state.name for state in stateList" form-check="must" form-check-alert="状态不能为空">
									<option value="">--请选择--</option>
								</select>
							</td>
						</tr>
						</tbody>
					</table>
				</div>
				<!-- 居住联系信息 -->
				<div role="tabpanel" id="messages">
					<table width="100%" align="center" border="0"   class="table table-form table-bordered">
						<tbody>
						<tr>
							<td class="control-labels">户口所属省市区：</td>
							<td colspan="3">
								<div id="target" data-toggle="distpicker" style="display: flex;">
									<select class="form-control" style="width: 18%;"></select>
									<select class="form-control" style="width: 18%;margin-left: 2%;"></select>
									<select class="form-control" style="width: 18%;margin-left: 2%;"></select>
								</div>
							</td>
						</tr>
						<tr>
							<td class="control-labels">户口详细地址：</td>
							<td><input class="form-control " ng-model="form.hkdz" type="text" size="50" maxlength="80" form-check="must" form-check-alert="户口详细地址不能为空"></td>
							<td class="control-labels">户口性质：</td>
							<td>
								<select class="form-control" ng-model="form.hkxzm" ng-options="hkxzm.id as hkxzm.name for hkxzm in hkxzmList" form-check="must" form-check-alert="户口性质不能为空">
									<option value="">--请选择--</option>
								</select>
							</td>
						</tr>
						<tr>
							<td class="control-labels">现住址：</td>
							<td><input class="form-control" ng-model="form.xzz"  type="text" size="50" maxlength="80" form-check="must" form-check-alert="现住址不能为空">
							</td>
							<td colspan="2"><input type="checkbox" mg-click="Xxz()"> 同户口详细地址</td>
						</tr>
						<tr>
							<td class="control-labels">通讯地址：</td>
							<td><input class="form-control" ng-model="form.txdz" type="text" value="" size="50" form-check="must" form-check-alert="通讯地址不能为空"></td>
							<td colspan="2"><input type="checkbox" ng-click="Txdz()">同现住址</td>
						</tr>
						<tr>
							<td class="control-labels">联系电话：</td>
							<td><input class="form-control" ng-model="form.lxdh" type="text" maxlength="12" form-check="tel,phone" form-check-alert="请输入正确的学生联系电话(家庭电话)">
							</td>
							<td class="control-labels">电子邮箱：</td>
							<td class="form-group"><input class="form-control" ng-model="form.email" type="text" maxlength="30"></td>
						</tr>
						</tbody>
					</table>
				</div>
				<!-- 监护人信息 -->
				<div role="tabpanel" id="settings">
					<table class="table table-form table-bordered" width="100%" align="center" border="0">
						<tbody>
						<!--<tr>
							<td colspan="4" style="text-align: right;"><a ng-click="findjhr()" style="font-size: 14px;color: blue;height: 50px;line-height: 50px;">绑定监护人</a></td>
						</tr>-->
						<tr>
							<td class="control-label">监护人姓名：</td>
							<td><input  class="form-control" ng-validate="cname" type="text" ng-model="family.cyxm" maxlength="10" form-check-alert="监护人姓名不能为空"></td>
							<td class="control-label">监护人性别：</td>
							<td>
								<select class="form-control" ng-model="family.sex" ng-options=" xbm.id as xbm.name for xbm in xbmList" form-check-alert="监护人性别不能为空">
									<option value="">--请选择--</option>
								</select>
							</td>
						</tr>
						<tr>
							<td class="control-label">监护人联系电话：</td>
							<td><input class="form-control" type="text" ng-model="family.dh" maxlength="12" placeholder="示例：021-88888888" form-check-alert="请输入正确的监护人联系电话"></td>
							<td class="control-label">监护人手机号码：</td>
							<td><input class="form-control" ng-validate="phone" type="text" ng-model="family.sjhm" maxlength="11" form-check-alert="请输入正确的监护人手机号码"></td>
						</tr>
						<tr>
							<td class="control-label">监护人国籍：</td>
							<td class="form-group">
								<select class="form-control" ng-model="family.gjdqm" ng-options="gjdqm.id as gjdqm.name for gjdqm in gjdqmList">
									<option value="">--请选择--</option>
								</select>
							</td>
							<td class="control-label">监护人与学生关系：</td>
							<td>
								<select class="form-control" ng-model="family.gxm" ng-options="gxm.id as gxm.name for gxm in gxmList" form-check-alert="监护人与学生关系不能为空">
									<option value="">--请选择--</option>
								</select>
							</td>
						</tr>
						<tr>
							<td class="control-label">监护人户口所在地：</td>
							<td class="form-group">
								<select class="form-control" ng-model="family.hkszd" ng-options="hksf.id as hksf.name for hksf in hksfList">
									<option value="">--请选择--</option>
								</select>
							</td>
							<td class="control-label">监护人户籍类别：</td>
							<td class="form-group">
								<select class="form-control" title="上海市户口必须填写" ng-model="family.hjlb" ng-options="hjlb.id as hjlb.name for hjlb in hjlbList">
									<option value="">--请选择--</option>
								</select>
							</td>
						</tr>
						<tr>
							<td class="control-label">监护人学历：</td>
							<td>
								<select class="form-control" ng-model="family.xlm" ng-options="xlm.id as xlm.name for xlm in xlmList">
									<option value="">--请选择--</option>
								</select>
							</td>
							<td class="control-label">监护人政治面貌：</td>
							<td>
								<select class="form-control" ng-model="family.zzmm" ng-options="zzmm.id as zzmm.name for zzmm in zzmmList" form-check-alert="监护人政治面貌不能为空">
									<option value="">--请选择--</option>
								</select>
							</td>
						</tr>
						<tr>
							<td class="control-label">监护人身份证件类型：</td>
							<td>
								<select class="form-control" ng-model="family.zjlx" ng-options="sfzjlxm.id as sfzjlxm.name for sfzjlxm in sfzjlxmList" form-check-alert="监护人身份证件类型不能为空">
									<option value="">--请选择--</option>
								</select>
							</td>
							<td class="control-label">监护人身份证件号码：</td>
							<td><input class="form-control jhr" type="text"  ng-model="family.zjhm" maxlength="18" form-check-alert="请输入证件号码"></td>
						</tr>
						<tr>
							<td class="control-label">监护人工作单位：</td>
							<td class="form-group"><input class="form-control" type="text" ng-model="family.cygzdw" maxlength="50">
							</td>
							<td class="control-label">监护人职务：</td>
							<td class="form-group"><input class="form-control" type="text" ng-model="family.zw" maxlength="15">
							</td>
						</tr>
						</tbody>
					</table>
				</div>
				<!-- 其它信息 -->
				<div role="tabpanel" id="other">
					<table width="100%" align="center" border="0" class="table table-form table-bordered">
						<tbody>
						<tr>
							<td class="control-label">是否独生子女：</td>
							<td class="form-group">
								<select class="form-control" ng-model="form.dszybz" ng-options="dszybz.id as dszybz.name for dszybz in dszybzList">
									<option value="">--请选择--</option>
								</select>
							</td>
							<td class="control-label">是否留守儿童:</td>
							<td class="form-group">
								<select class="form-control" ng-model="form.sflsetm" ng-options="sflset.id as sflset.name for sflset in sflsetList">
									<option value="">--请选择--</option>
								</select>
							</td>
						</tr>
						<tr>
							<td class="control-label">是否孤儿：</td>
							<td class="form-group">
								<select class="form-control" ng-model="form.sfge" >
									<option value="">--请选择--</option>
									<option value="1">是</option>
									<option value="0">否</option>
								</select>
							</td>
							<td class="control-label">是否烈士或优抚子女:</td>
							<td class="form-group">
								<select class="form-control" ng-model="form.sflshyfzn" >
									<option value="">--请选择--</option>
									<option value="1">是</option>
									<option value="0">否</option>
								</select>
							</td>
						</tr>
						<tr>
							<td class="control-label">是否需要申请资助：</td>
							<td class="form-group">
								<select class="form-control" ng-model="form.sfxsyb" >
									<option value="">--请选择--</option>
									<option value="1">是</option>
									<option value="0">否</option>
								</select>
							</td>
							<td class="control-label">是否享受一补:</td>
							<td class="form-group">
								<select class="form-control" ng-model="form.sfxsybm">
									<option value="">--请选择--</option>
									<option value="1">是</option>
									<option value="0">否</option>
								</select>
							</td>
						</tr>
						</tbody>
					</table>
				</div>
			</div>
		</form>
	</div>
	<div class="modal-footer">
		<button ng-click="saveForm()" type="button" class="btn btn-success"><i class="iconfont icon-correct"></i>&nbsp;保存</button>
		<button ng-click="back()" type="button" class="btn btn btn-secondary"><i class="iconfont icon-back"></i>&nbsp;返回</button>
	</div>
</div>





